package net.tavion.angelboot.common.enums;

public enum RequestHeaderElement {

    userId("x-usrid","用户ID"),
    language("x-language","语言"),
    authorization("Authorization","认证token"),
    channelKey("x-channelkey","渠道密钥"),
    channel("x-channel","渠道"),
    requestId("x-requestId","请求Id"),

    ;



    private String code;

    private String name;

    RequestHeaderElement(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
